
IPC_onCopyData(WParam, LParam) {
	static Handler
	if Lparam =
		return  Handler := WParam

	port := NumGet(Lparam+0, 0, "Int"), data := NumGet(Lparam+8)
	size := ""
	if port < 0
		 data := DllCall("MulDiv", "Int", data, "Int",1, "Int", 1, "str"), port := -port
	else size := NumGet(LParam+4)

	%handler%(WParam, data, port, size)
	return 1
}
